package org.demo.work;
/**
 * 任务监听
 * @author  
 * @date    2010-10-27
 * @file    org.demo.work.WorkListener.java
 */
public interface WorkListener {
	/**
	 * 接收任务
	 * @param event
	 */
	public void workAccepted(WorkEvent event);	
	
	/**
	 * 启动任务
	 * @param event
	 */
	public void workStarted(WorkEvent event);
	
	/**
	 * 完成任务
	 * @param event
	 */
	public void workCompleted(WorkEvent event);
}
